<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	xmlns:c="http://java.sun.com/jstl/core"
	template="/layout/dialogLayout.xhtml">
	<ui:param name="param_pageTitle" value="#{messages.crud_btn_add}" />
	<ui:param name="param_panelWidth" value="500px" />
	<ui:param name="id" value="add" />
	<ui:define name="content">
		<h:form>
			<rg:titlePanel type="writable" needButton="true" headerTitle="修改员工">
				<rg:fieldSet>
					<rg:outputText id="userName" required="true" label="姓名"
						value="#{memberUserAction.appUser.username}" />
					<rg:inputPassword id="password" label="登录密码" value="#{partyAction.party.appUser.password}" />
					<rg:inputPassword id="passwordAgain" label="确认密码"
						value="#{memberUserAction.appUser.password}"
						validator="#{passwordCompareValidator}" />
				</rg:fieldSet>
				<ui:define name="panelButton">
					<a:commandButton styleClass="button"
						value="#{messages.btn_complete}" onclick="UI.instance.showMask()"
						oncomplete="UI.instance.reRender('reRenderPartyTable');"
						action="#{memberUserAction.updatePassword()}"
						reRender="#{id}Scripts,globalMessage" />
					<input type="button" class="button" value="#{messages.btn_cancel}"
						onclick="javascript:DialogLayout.instance.close();" />
				</ui:define>
			</rg:titlePanel>
		</h:form>
	</ui:define>
</ui:composition>